// QuestionEditDialog.cpp : implementation file
//

#include "stdafx.h"
#include "AdminTool.h"
#include "QuestionEditDialog.h"


// CQuestionEditDialog dialog

IMPLEMENT_DYNAMIC(CQuestionEditDialog, CDialog)

CQuestionEditDialog::CQuestionEditDialog(UINT nIDTemplate, CWnd* pParent /*=NULL*/)
    : CDialog(nIDTemplate, pParent)
    , m_question(NULL)
    , m_criterion(NULL)
{

}

CQuestionEditDialog::~CQuestionEditDialog()
{
}

void CQuestionEditDialog::DoDataExchange(CDataExchange* pDX)
{
    CDialog::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(CQuestionEditDialog, CDialog)
END_MESSAGE_MAP()


// CQuestionEditDialog message handlers
void CQuestionEditDialog::SetQuestion(ExamSystem::CQuestion *question, ExamSystem::CCriterion *criterion)
{
    m_question = question;
    m_criterion = criterion;
}